Get NameError when printing out the result but I've assigned a variable to it

welcome to shbcf.ru